package org.hxyjs.entity;

import java.io.Serializable;

/**
 * @author 
 */
public class Winningrecord implements Serializable {
    private String wrno;

    private String pno;

    private String arno;

    private String wrname;

    private String wrnumber;

    private String wrdescribe;

    private Integer wrstate;

    private static final long serialVersionUID = 1L;

    public String getWrno() {
        return wrno;
    }

    public void setWrno(String wrno) {
        this.wrno = wrno;
    }

    public String getPno() {
        return pno;
    }

    public void setPno(String pno) {
        this.pno = pno;
    }

    public String getArno() {
        return arno;
    }

    public void setArno(String arno) {
        this.arno = arno;
    }

    public String getWrname() {
        return wrname;
    }

    public void setWrname(String wrname) {
        this.wrname = wrname;
    }

    public String getWrnumber() {
        return wrnumber;
    }

    public void setWrnumber(String wrnumber) {
        this.wrnumber = wrnumber;
    }

    public String getWrdescribe() {
        return wrdescribe;
    }

    public void setWrdescribe(String wrdescribe) {
        this.wrdescribe = wrdescribe;
    }

    public Integer getWrstate() {
        return wrstate;
    }

    public void setWrstate(Integer wrstate) {
        this.wrstate = wrstate;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Winningrecord other = (Winningrecord) that;
        return (this.getWrno() == null ? other.getWrno() == null : this.getWrno().equals(other.getWrno()))
            && (this.getPno() == null ? other.getPno() == null : this.getPno().equals(other.getPno()))
            && (this.getArno() == null ? other.getArno() == null : this.getArno().equals(other.getArno()))
            && (this.getWrname() == null ? other.getWrname() == null : this.getWrname().equals(other.getWrname()))
            && (this.getWrnumber() == null ? other.getWrnumber() == null : this.getWrnumber().equals(other.getWrnumber()))
            && (this.getWrdescribe() == null ? other.getWrdescribe() == null : this.getWrdescribe().equals(other.getWrdescribe()))
            && (this.getWrstate() == null ? other.getWrstate() == null : this.getWrstate().equals(other.getWrstate()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getWrno() == null) ? 0 : getWrno().hashCode());
        result = prime * result + ((getPno() == null) ? 0 : getPno().hashCode());
        result = prime * result + ((getArno() == null) ? 0 : getArno().hashCode());
        result = prime * result + ((getWrname() == null) ? 0 : getWrname().hashCode());
        result = prime * result + ((getWrnumber() == null) ? 0 : getWrnumber().hashCode());
        result = prime * result + ((getWrdescribe() == null) ? 0 : getWrdescribe().hashCode());
        result = prime * result + ((getWrstate() == null) ? 0 : getWrstate().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", wrno=").append(wrno);
        sb.append(", pno=").append(pno);
        sb.append(", arno=").append(arno);
        sb.append(", wrname=").append(wrname);
        sb.append(", wrnumber=").append(wrnumber);
        sb.append(", wrdescribe=").append(wrdescribe);
        sb.append(", wrstate=").append(wrstate);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}